package com.arpa.wms.domain.dto;

import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 库区DTO
 * </p>
 *
 * @author LEO
 * @since 2020-08-03
 */
@Data
@ApiModel(value="WarehouseSpaceDTO对象", description="库区")
public class WarehouseSpaceDTO extends BasicEntity {


    @ApiModelProperty(value = "数据标识")
    private String code;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;

    @ApiModelProperty(value = "库区名称")
    private String name;

    @ApiModelProperty(value = "库区编码")
    private String serialNumber;

    @ApiModelProperty(value = "所属仓库")
    private String warehouseCode;

    @ApiModelProperty(value = "温层")
    private String temperature;

    @ApiModelProperty(value = "额定最低温度")
    private Double ratedMinTemperature;

    @ApiModelProperty(value = "额定最高温度")
    private Double ratedMaxTemperature;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "状态")
    private String status;


    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;

    @ApiModelProperty(value = "是否临时库区")
    private Integer tempSpace;

    @ApiModelProperty(value = "是否可删除操作 0-不可删除 1-可删除")
    private String deleteFlag;

    @ApiModelProperty(value = "授权该账号的仓库集合")
    private List<String> warehouseCodes;
}
